package com.chicken.service;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.chicken.pojo.Member;

public interface MemberService {
	/**
	 * ��ӻ�Ա
	 * @param member
	 * @return
	 */
	public int addMember(Member member);
	/***
	 * �������л�Ա��Ϣ
	 * @return
	 */
	public List<Member> memberAll();
	/**
	 * ���id���ػ�Ա��Ϣ
	 * @param id
	 * @return
	 */
	public Member memberById(Integer id);
	/**
	 * ɾ���Ա��Ϣ
	 * @param id
	 * @return
	 */
	public int deleteMember(Integer id);
	/**
	 * �޸Ļ�Ա��Ϣ
	 * @param member
	 * @return
	 */
	public int updateMember(Member member);
	
}
